<?php
$this->registerJsFile('/js/adminstore/auth.js?v=1.0.0');
?>

<div class="layui-container bg-white settle-wrap">
    <div class="border-b  ">
        <span class="info">商家类型：</span><?=$type_arr[$model->type]?>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">公司名称：</label>
        <div class="layui-input-block">
            <?=$model->name?>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-form-label">公司地址：</div>
        <div class="layui-input-inline">
            <?=$province?>-<?=$city?>-<?=$county?>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-form-label">公司地址：</div>
        <div class="layui-input-inline">
            <?=$model->address?>
        </div>
    </div>
    <div class="layui-form-item">
            <label class="layui-form-label">营业执照注册号：</label>
            <div class="layui-input-block">
                <?=$model->bussiness_no?>
            </div>
    </div>
    <div class="layui-form-item">
            <label class="layui-form-label">营业执照扫描件</label>					
            <div class="layui-input-inline">
                <div class="layui-upload photo-bak" id="bussiness_img_preview">						  
                    <img style="width: 200px;height: auto;" src="<?=$front_sever.$model->bussiness_img?>"/>
                </div> 
            </div>
    </div>

    <div class="layui-form-item">
            <label class="layui-form-label">联系人姓名：</label>
            <div class="layui-input-block" style="width: 190px;">
                <?=$model->liaison?>
            </div>
    </div>

    <div class="layui-form-item">
            <label class="layui-form-label">联系人证件号码：</label>
            <div class="layui-input-inline">
                <?=$liaison_id_type_arr[$model->liaison_id_type]?>
            </div>
            <div class="layui-input-inline" style="width: 260px;">
                <?=$model->liaison_id_no?>
            </div>
    </div>
    <div class="layui-form-item">
            <label class="layui-form-label">联系人职务：</label>
            <div class="layui-input-inline">
                <?=$model->liaison_job?>
            </div>
    </div>
    <div class="layui-form-item">
            <label class="layui-form-label">联系人手机号码：</label>
            <div class="layui-input-inline">
                <?=$model->liaison_mobile?>
            </div>
    </div>
    <div class="layui-form-item">
            <label class="layui-form-label">联系人邮箱：</label>
            <div class="layui-input-inline">
                <?=$model->liaison_email?>
            </div>
    </div>

    <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">公司简介：</label>
            <div class="layui-input-block">
                <?=$model->shop_info?>
            </div>
    </div>

    <div class="layui-form-item">
            <label class="layui-form-label">公司LOGO</label>
            <div class="layui-input-inline">
                <div class="photo-bak" id="logo_img_preview">						  
                      <img style="width: 200px;height: auto;" src="<?=$front_sever.$model->shop_logo?>"/>
                </div> 
            </div>
    </div>

    <div class="layui-form-item">
            <label class="layui-form-label">操作：</label>
            <div class="layui-input-inline">
                <select id="status"><option>--请选择--</option><option value="1">审核通过</option><option value="2">审核未通过</option></select>
                <input type="hidden" id="id" value="<?=$model->id?>"/>
            </div>
    </div>
    <div class="layui-form-item">
            <label class="layui-form-label">操作原因：</label>
            <div class="layui-input-inline">
                <input type="text" id="reason" class="layui-input"/>
            </div>
    </div>


    <div class="layui-form-item border-t">
        <div class="text-c mt30">
                <span class="layui-btn layui-btn-lg  layui-btn-normal" id="store-auth-submit">提交</span>
        </div>
    </div>
</div>